package org.jeecg.modules.friends.base;

import java.util.List;

import org.apache.commons.compress.utils.Lists;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@ApiModel(value = "返回结果")
@Data
public class PageRsp<T> {
    @ApiModelProperty(value = "页码")
    private Integer pageNum;
    @ApiModelProperty(value = "页大小")
    private Integer pageSize;
    @ApiModelProperty(value = "总条数")
    private Integer total;
    private List<T> data = Lists.newArrayList();
    @ApiModelProperty(value = "学长学姐人数")
    private Long seniorNum;
}
